package com.ky.gp.app.service;

import com.ky.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "gp-home-server")
public interface SchoolFeign {
    @RequestMapping("/home/school/selectByCity/{city}")
    R getSchool(@PathVariable("city") String city);
}
